package lab02.test29;

/**
 * Created by Adminitrator on 2017/11/2.
 */
public class Test {
    public static void main(String[] args) {
        int[] numbers=new int[5];
        numbers[0]=12;
        numbers[1]=13;
        numbers[2]=14;
        numbers[3]=15;
        numbers[4]=16;
        try{
            System.out.println(numbers[5]);
        }catch (ArrayIndexOutOfBoundsException e){
            System.out.println("数组下标越界！");
        }finally {
            System.out.println("无论怎样都会执行");

        }
    }
}
